<?php
session_start();
$username=$_SESSION['username'];
$_SESSION =array();
session_destroy();
setcookie("username",'',time()-1);
setcookie("code",'',time()-1);
echo "$username,欢迎下次光临！";
echo "重新<a href='login.html'>登录</a>";
?>